const pathName = '/home/'

const Home = resolve => {
    require.ensure(['touch/routers/home.vue'], () => {
        resolve(require('touch/routers/home.vue'))
    })
}

// const UCenter =  resolve => {
//     require.ensure(['touch/routers/home/ucenter.vue'], () => {
//         resolve(require('touch/routers/home/ucenter.vue'))
//     })
// }

// const UCenterInfo =  resolve => {
//     require.ensure(['touch/routers/home/ucenter/info.vue'], () => {
//         resolve(require('touch/routers/home/ucenter/info.vue'))
//     })
// }

// const UCenterAccount =  resolve => {
//     require.ensure(['touch/routers/home/ucenter/account.vue'], () => {
//         resolve(require('touch/routers/home/ucenter/account.vue'))
//     })
// }

// const ServiceAddress =  resolve => {
//     require.ensure(['touch/routers/home/service/address.vue'], () => {
//         resolve(require('touch/routers/home/service/address.vue'))
//     })
// }

// const ServiceSetting =  resolve => {
//     require.ensure(['touch/routers/home/service/setting.vue'], () => {
//         resolve(require('touch/routers/home/service/setting.vue'))
//     })
// }

export default  [
	{ path: pathName , component: Home },
	// { path: pathName+'ucenter' , component: UCenter },
	// { path: pathName+'ucenter/info' , component: UCenterInfo },
	// { path: pathName+'ucenter/account' , component: UCenterAccount },
	// { path: pathName+'service/address' , component: ServiceAddress },
	// { path: pathName+'service/setting' , component: ServiceSetting },
]